package com.app.studyroom.api.model.ssrUser;

public class RegisterRequest {

    // 必须字段
    private String userName;
    private String userZjh = "";
    private String userSjh;
    private String userNumber = "";
    private String userPassword;
    private String userBs = "user"; // 默认普通用户
    private String qy = "";
    private String userImage;
    private String classNum;

    public String getClassNum() {
        return classNum;
    }
    public void setClassNum(String classNum) {
        this.classNum = classNum;
    }

    // 非必须字段（可以为空或默认）
    private Integer id = null;
    private String createdUser = null;
    private String createdTime = null;
    private String updateUser = null;
    private String updateTime = null;
    private String status = null;

    // 必须有无参构造
    public RegisterRequest() {}

    // 有参构造（只传必填字段）
    public RegisterRequest(String userName, String userSjh, String userPassword) {
        this.userName = userName;
        this.userSjh = userSjh;
        this.userPassword = userPassword;
    }

    // Getter / Setter
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserZjh() {
        return userZjh;
    }
    public void setUserZjh(String userZjh) {
        this.userZjh = userZjh;
    }

    public String getUserSjh() {
        return userSjh;
    }
    public void setUserSjh(String userSjh) {
        this.userSjh = userSjh;
    }

    public String getUserNumber() {
        return userNumber;
    }
    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public String getUserPassword() {
        return userPassword;
    }
    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserBs() {
        return userBs;
    }
    public void setUserBs(String userBs) {
        this.userBs = userBs;
    }

    public String getQy() {
        return qy;
    }
    public void setQy(String qy) {
        this.qy = qy;
    }
    public String getUserImage() { return userImage; }
    public void setUserImage(String userImage) { this.userImage = userImage; }

    // 非必须字段的 Getter/Setter（可以保留，默认不管）
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }

    public String getCreatedUser() {
        return createdUser;
    }
    public void setCreatedUser(String createdUser) {
        this.createdUser = createdUser;
    }

    public String getCreatedTime() {
        return createdTime;
    }
    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
}
